package com.sfdk.graphics.core
{
import com.sfdk.graphics.api.IHotkeyListener;

import flash.display.SimpleButton;

/**
	 * Classe pour étendre certaines fonctions
	 **/
	public class SimpleButtonEx extends SimpleButton implements IHotkeyListener
	{
		private var hotkeyValue_ : String;
		
		public function SimpleButtonEx()
		{
			super();
		}
		
		public function set hotkey (value : String) : void
		{
			hotkeyValue_ = value.toUpperCase();
		}
		
		public function get hotkey () : String
		{
			return hotkeyValue_;
		}
	}
}